home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Stickerpedia Stickerbook
/
Stickerbook.iso
/
pc
/
DATA
/
main.dxr
/
00015_Script_ [ internal ] Previous Button
< prev
next >
Wrap
Text File
|
2003-03-24
|
614b
|
46 lines
property pDirection
property spriteNum
global gCurInvisibleButton
on beginSprite me
pDirection = -1
end
on msUp me
switchImage pDirection
end
on lastImage mw, direction
if gCurInvisibleButton = "" then sendsprite spriteNum, #show
if direction = pDirection then
sendsprite spriteNum, #hide
gCurInvisibleButton = "Previous"
else
sendsprite spriteNum, #show
end if
end
on notLastImage mw, direction
if direction = pDirection then
gCurInvisibleButton = ""
sendsprite spriteNum, #show
end if
end